/* 创建store&使用中间件 */
import {createStore,applyMiddleware} from 'redux'
import reducer from './reducers'
import reduxLogger from 'redux-logger'
import reduxPromise from 'redux-promise'
import {thunk} from 'redux-thunk'
const store = createStore(reducer,applyMiddleware(reduxLogger,reduxPromise,thunk))
export default store